package com.fs.base.pojo;

import javax.persistence.Entity;
import javax.persistence.Table;

import lombok.Data;
import lombok.EqualsAndHashCode;

import com.fs.base.annotation.ColumnDesc;
import com.fs.base.annotation.EasyUiComboBox;

/**
 * @author TiddlerCJ
 * @desc 数据字典
 */
@Entity
@Table(name="s_dictionary")
@Data@EqualsAndHashCode(callSuper=false) 
@EasyUiComboBox(textField="dicName",groupField="pCode")

public class Dictionary  extends PkEntity{
	@ColumnDesc(name="字典编码")
	private String dicCode;
	
	@ColumnDesc(name="父字典编码")
	private String pCode;
	
	@ColumnDesc(name="字典名称") 
	private String dicName;
	
	@ColumnDesc(name="字典值") 
	private String dicValue;
	
	@ColumnDesc(name="字典排序") 
	private String dicOrder;
	
	@ColumnDesc(name="字典父亲") 
	private String parentId;
	
}
